package com.stylefeng.guns.modular.device_token.dao;

import com.stylefeng.guns.modular.push_msg.model.BundleDO;
import com.stylefeng.guns.modular.push_msg.model.DeviceTokenDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface DeviceTokenMapper {
    //根据应用查询bundle列表
    List<BundleDO> findBundleOfAppCode(@Param("appCode") String appCode);
    //根据bundleId 查询所有deviceToken
    List<DeviceTokenDO> findDeviceTokenOfBundle(@Param("bundleId") String bundleId);
}
